# n = [i for i in range(0, 100)]
#
# for i in n:
#     print(i)


def gen(max_value):
    n = 0
    while n < max_value:
        # print(n)
        yield n
        n += 1


g = gen(100)
for i in g:
    print(i)
# print(next(g))
# print(next(g))
